home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QuickTime 1.0 for Developers
/
QuickTime 1.0 for Developers.iso
/
Programming Stuff
/
Sample Code
/
Example Compressor
/
examplecodec.make
< prev
next >
Wrap
Text File
|
1991-09-05
|
1KB
|
40 lines
COptions = -warnings off -I {INTERFACES} -mc68020 -o "{warholObjects}"
AOptions = -wb -o "{warholObjects}"
Roptions = -append -i {interfaces}
interfaces = "{warholSources}Interface:"
BUILDRES = "{warholSources}BuildResults:"
imagecomp = "{warholSources}Interface:image compression.h"
codecguts = "{warholSources}Interface:Image Codec.h"
ExampleCodec [f][f] makefile ExampleCodec.r {warholSources}Interface:"Image Codec.r" "{warholObjects}"registerthings
Echo "# `date -s -t` -- Rezzing ExampleCodec"
Rez {ROptions} -o ExampleCodec -c 'appl' -t 'thng' ExampleCodec.r
ExampleCodec [f][f] "{warholObjects}"ExampleCodec.c.o [partial]
# "{warholObjects}"ExampleCodec.a.o [partial]
makefile
Echo "# `date -s -t` -- Linking ExampleCodec"
Link -w -m EXAMPLECODEC -rt 'cdec'=128 -ra 16 [partial]
-sg Inst {SYMBOLS}[partial]
"{warholObjects}"ExampleCodec.c.o [partial]
# "{warholObjects}"ExampleCodec.a.o [partial]
"{Libraries}"Runtime.o [partial]
"{Libraries}"Interface.o [partial]
-o ExampleCodec -c "mark" -t "thng"
"{warholObjects}"ExampleCodec.c.o [f] 'Makefile' ExampleCodec.c {imagecomp} {codecguts}
Echo "# `date -s -t` -- Compiling ExampleCodec"
C -b2 {COptions} ExampleCodec.c
"{warholObjects}"ExampleCodec.a.o [f] 'Makefile' ExampleCodec.a {imagecomp} {codecguts}
Echo "# `date -s -t` -- Assembling ExampleCodec"
Asm {AOptions} ExampleCodec.a